package com.wteam.PoJo.VO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 商品参数表
 * </p>
 *
 * @author author
 * @since 2024-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_params")
@ApiModel(value="Params对象", description="商品参数表")
public class PresaleParamsVO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "预售商品主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "图片")
    private String imges;

    @ApiModelProperty(value = "定金")
    private BigDecimal deposit;

    @ApiModelProperty(value = "尾款")
    private BigDecimal balance;

    @ApiModelProperty(value = "总价")
    private BigDecimal price;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "官方售价")
    private BigDecimal officialPrice;

    @ApiModelProperty(value = "材质")
    private String material;

    @ApiModelProperty(value = "预计出荷时间")
    private LocalDate estimatedDelivery;

    @ApiModelProperty(value = "产品配件")
    private String accessories;

    @ApiModelProperty(value = "尺寸")
    private String dimensions;

    @ApiModelProperty(value = "运费")
    private BigDecimal postage;

}
